﻿namespace ActiveDirectoryService.Library.Constants
{
    public class ActiveDirectoryFilters
    {
        public const string DistributionGroup = "(&(objectCategory=group)(!groupType:1.2.840.113556.1.4.803:=2147483648))";
        public const string MembersOfDistributionGroup = "(&(objectCategory=person)(|(objectClass=contact)(objectClass=user))(memberOf={0}))";

		//without disabled user
        //public const string Users = "(&(objectCategory=Person)(objectClass=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))";

		//with disabled user
		public const string Users = "(&(objectCategory=Person)(objectClass=User))";
    }
}